package com.tanhua.server.pojo;

import com.fasterxml.jackson.annotation.JsonIgnore;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class User extends BasePojo{

    private Long id;
    private String mobile;

    @JsonIgnore //此注解表示json转化时忽略此变量
    private String password;
}
